package com.fintech.third.service.message;


import java.util.List;

import com.fintech.third.model.message.EdcPushMessageCategoryDto;
import com.fintech.third.model.message.EdcUserPushMessageCategoryDto;
import com.fintech.third.model.message.UserPushMessageCategoryDto;

/**
 * 消息推送大类接口
 * @author tangpw
 *
 */
public interface PushMessageCategoryService {

	
	/**
	 * 更新已读未读状态
	 * @param id
	 * @param isRead
	 * @return
	 */
	public boolean updateMessageCategory (EdcUserPushMessageCategoryDto edcUserPushMessageCategoryDto);
	
	
	
	/**
	 * 查询用户所有消息大类
	 * @param userId
	 * @param pushCategory 推送类别 1:云科贷  2:云展业
	 * @return
	 */
	public List<UserPushMessageCategoryDto> selectUserAllMessageCategory(String userId,String pushCategory);
	
	
	
	/**
	 * 查询所有推送消息的大类
	 * @return
	 */
	public List<EdcPushMessageCategoryDto> selectEdcPushMessageCategory(String pushCategory);
}
